package com.welfare.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.welfare.common.annotation.Excel;
import com.welfare.common.core.domain.BaseEntity;
import java.util.Date;
/**
 * book对象 book
 * 
 * @author welfare
 * @date 2022-09-29
 */
public class Book extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */

    private Integer bid;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")

    private String bname;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")

    private String author;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")

    private Integer status;

    /** $column.columnComment */
    @Excel(name = "${comment}", readConverterExp = "$column.readConverterExp()")

    private Integer num;


    public void setBid(Integer bid) 
    {
        this.bid = bid;
    }

    public Integer getBid() 
    {
        return bid;
    }

    public void setBname(String bname) 
    {
        this.bname = bname;
    }

    public String getBname() 
    {
        return bname;
    }

    public void setAuthor(String author) 
    {
        this.author = author;
    }

    public String getAuthor() 
    {
        return author;
    }

    public void setStatus(Integer status) 
    {
        this.status = status;
    }

    public Integer getStatus() 
    {
        return status;
    }

    public void setNum(Integer num) 
    {
        this.num = num;
    }

    public Integer getNum() 
    {
        return num;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bid", getBid())
            .append("bname", getBname())
            .append("author", getAuthor())
            .append("status", getStatus())
            .append("num", getNum())
            .toString();
    }
}
